A Bayer filter mosaic is a color filter array (CFA) for arranging RGB color filters on a square grid of photosensors. Its particular arrangement of color filters is used in most single-chip digital image sensors used in digital cameras, camcorders, and scanners to create a color image. The filter pattern is 50% green, 25% red and 25% blue, hence is also called RGBG[1][2], GRGB[3], or RGGB.[4]
It is named after its inventor, Bryce E. Bayer of Eastman Kodak. Bayer is also known for his recursively defined matrix used in ordered dithering.
Contents |
Bryce Bayer's patent (U.S. Patent No. 3,971,065) in 1976 called the green photosensors luminance-sensitive elements and the red and blue ones chrominance-sensitive elements. He used twice as many green elements as red or blue to mimic the physiology of the human eye. The luminance perception of the human retina uses M and L cone cells combined, during daylight vision, which are most sensitive to green light. These elements are referred to as sensor elements, sensels, pixel sensors, or simply pixels; sample values sensed by them, after interpolation, become image pixels.
The raw output of Bayer-filter cameras is referred to as a Bayer pattern image. Since each pixel is filtered to record only one of three colors, the data from each pixel cannot fully determine color on its own. To obtain a full-color image, various demosaicing algorithms can be used to interpolate a set of complete red, green, and blue values for each point.
Different algorithms requiring various amounts of computing power result in varying-quality final images. This can be done in-camera, producing a JPEG or TIFF image, or outside the camera using the raw data directly from the sensor.
The Bayer filter is almost universal on consumer digital cameras. Alternatives include the CYGM filter (cyan, yellow, green, magenta) and RGBE filter (red, green, blue, emerald), which require similar demosaicing. The Foveon X3 sensor (which layers red, green, and blue sensors vertically rather than using a mosaic) and arrangements of three separate CCDs (one for each color) don't need demosaicing.
On June 14, 2007, Eastman Kodak announced an alternative to the Bayer filter: a color-filter pattern that increases the sensitivity to light of the image sensor in a digital camera by using some "panchromatic" cells that are sensitive to all wavelengths of visible light and collect a larger amount of light striking the sensor.[5] They present several patterns, but none with a repeating unit as small as the Bayer pattern's 2×2 unit.
Another 2007 U.S. patent filing, by Edward T. Chang, claims a sensor where "the color filter has a pattern comprising 2×2 blocks of pixels composed of one red, one blue, one green and one transparent pixel," in a configuration intended to include infrared sensitivity for higher overall sensitivity.[6] The Kodak patent filing was earlier.[7]
Such cells have previously been used in "CMYW" (cyan, magenta, yellow, and white)[8] "RGBW" (red, green, blue, white)[9] sensors, but Kodak has not compared the new filter pattern to them yet.
On November 21, 2006, Nikon Corporation was granted U.S. patent 7,138,663 which places a microlens over a triplet of photoreceptors. Specific wavelengths of light are separated and passed to specific photoreceptors designated to record red, green, and blue wavelengths. Light separation is achieved with dichroic mirrors. This system emulates three-CCD imaging systems with a single array. Image quality is theoretically improved due to much smaller gaps between photoreceptors assigned to a wavelength (each microlens lens acts as a collector for all pertinent wavelengths of light) and reduced light loss through the absence of wavelength filters.
Another type of color separation, sometimes called vertical color filter, as opposed to lateral color filter, is used in the Foveon X3 sensor. Each location on the image sensor array has three stacked active pixel sensors, utilizing the sensor's silicon itself as the color filter, based on the wavelength-dependent absorption of light in silicon.[10][11]
With Color co-site sampling, color interpolation is not necessary. Using this method, the whole sensor is displaced in pixel distances after the first acquisition, in order to obtain full color information from each filter color of the Bayer pattern.